package se392.ateam2006.user;

import javax.ejb.Remote;


/**
 * Remote interface for the UserMgmtBean - allows access from an external JVM
 * @author Ateam (Matthew Bennett, Claire Melton, Shingai Manyiwa, John Adderley)
 * @version 25/03/07
 */
@Remote
public interface UserMgmtRemote {
  
    UserEntity createUser(String email, String firstname, String lastname);

    UserEntity createUser(String email);
    
    void createUser(UserEntity user);
    
    UserEntity getUserByID(String userId);
    
    boolean setBookingPermissions(String email, String permissions) throws Exception;

    int getUserCount();

    void removeAllUsers();
}
